Step-by-step making a simple plot using plot_pandas_GUI()

First we import pandas and pandas_GUI, and load some data. In this case we will load two time dependent Laser Induced Fluorescence (LIF) data sets.

The steps below were done after running the command plot_pandas_GUI() in an empty code cell. If you are running this notebook live you can try it yourself by running all the cells in the notebook. The last one runs the plot_pandas_GUI() command, so will create a live GUI for you to try.

1. On the first tab

the LIF data set was selected, then the 'time(s)' column was chosen as the X-coordinate and 'Signal (V)' as the Y-coordinate using the selection boxes. The name for the trace (LIF1) was entered in the tracename box. None of the optional trace formatting options were selected. The code to added this trace to the plot was inserted into the code cell below by clicking on the 'Add Trace' button. The process was repeated but selecting the LIF2 data set.

GUI_expplot_1.png

2. On the second tab

the axis labels were entered.

GUI_expplot_2.png

3. On the third tab

the defaults were used except for checking the 'Display Mirror Axes' box.

GUI_expplot_3.png

4. On the last, fourth, tab

the suggestions for final checks were followed and then the 'Make Plot' button was clicked, closing the GUI and running the code in the cell below.

GUI_expplot_4.png

Figure 1: This should display a live plotly plot that can be zoomed and show point values upon hovering. If you do not see a live plot the notebook is not running or trusted. Click on the 'Not Trusted' button in the Jupyter menu bar to trust the notebook.

Learn More

In addition to trying it below if this is a live notebook, you can look at the other examples listed in the Pandas GUI website.

Try It

If you are running this notebook live in binder you can try it here by running the first cell to import the tools and data. Then run the cell below to create the GUI. Note: You may want to expand the collapsed instructions to learn more about each tab.